<?php

// application/models/UsuarioGrupoPertence.php

class Application_Model_UsuarioGrupoPertence extends App_Model_Abstract
{
    protected $_id;
    protected $_id_usuario;
    protected $_id_grupo;
    protected $_data;
    protected $_ativo;

    public function setId($value)
    {
        $this->_id = ($value > 0) ? (int) $value : NULL;
        return $this;
    }

    public function getId()
    {
        return $this->_id;
    }

    public function setIdUsuario($value)
    {
        $this->_id_usuario = ($value !== NULL) ? (string) $value : NULL;
        return $this;
    }

    public function getIdUsuario()
    {
        return $this->_id_usuario;
    }

    public function setIdGrupo($value)
    {
        $this->_id_grupo = ($value !== NULL) ? (string) $value : NULL;
        return $this;
    }

    public function getIdGrupo()
    {
        return $this->_id_grupo;
    }

    public function setData($value)
    {
        $this->_data = $value;
        return $this;
    }

    public function getData()
    {
        return $this->_data;
    }

    public function setAtivo($value)
    {
        $this->_ativo = ($value !== NULL) ? (string) $value : NULL;
        return $this;
    }

    public function getAtivo()
    {
        return $this->_ativo;
    }

}